package com.yanggu.scala.chapater04

object WhileDemo01 {

  def main(args: Array[String]): Unit = {
    //输出10次 Hello, 尚硅谷
    var number = 1
    while (number < 11) {
      println("Hello, 尚硅谷")
      number += 1
    }
  }

}
